package com.hongye.house.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hongye.common.utils.PageUtils;
import com.hongye.common.utils.Query;

import com.hongye.house.dao.OrientationHomeDao;
import com.hongye.house.entity.OrientationHomeEntity;
import com.hongye.house.service.OrientationHomeService;


@Service("orientationHomeService")
public class OrientationHomeServiceImpl extends ServiceImpl<OrientationHomeDao, OrientationHomeEntity> implements OrientationHomeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<OrientationHomeEntity> page = this.page(
                new Query<OrientationHomeEntity>().getPage(params),
                new QueryWrapper<OrientationHomeEntity>()
        );

        return new PageUtils(page);
    }

}